[INFO] fetching crate jitash-jsonrpc 0.15.0...
[INFO] checking jitash-jsonrpc-0.15.0 against master#ed1ce580ec27ffcfda1a95512e69185442f75ebe for pr-112999
[INFO] extracting crate jitash-jsonrpc 0.15.0 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate jitash-jsonrpc 0.15.0 on toolchain ed1ce580ec27ffcfda1a95512e69185442f75ebe
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed1ce580ec27ffcfda1a95512e69185442f75ebe" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate jitash-jsonrpc 0.15.0
[INFO] finished tweaking crates.io crate jitash-jsonrpc 0.15.0
[INFO] tweaked toml for crates.io crate jitash-jsonrpc 0.15.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed1ce580ec27ffcfda1a95512e69185442f75ebe" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed1ce580ec27ffcfda1a95512e69185442f75ebe" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded hyper v0.14.27
[INFO] [stderr]   Downloaded minreq v2.8.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+ed1ce580ec27ffcfda1a95512e69185442f75ebe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6d98010568af93a1aabded47e9501fd4f27b871f68c8cf75951bfa24edae7a12
[INFO] running `Command { std: "docker" "start" "-a" "6d98010568af93a1aabded47e9501fd4f27b871f68c8cf75951bfa24edae7a12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6d98010568af93a1aabded47e9501fd4f27b871f68c8cf75951bfa24edae7a12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6d98010568af93a1aabded47e9501fd4f27b871f68c8cf75951bfa24edae7a12", kill_on_drop: false }`
[INFO] [stdout] 6d98010568af93a1aabded47e9501fd4f27b871f68c8cf75951bfa24edae7a12
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+ed1ce580ec27ffcfda1a95512e69185442f75ebe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6fac8476a37b8339c94b78ca971053e4cbc95fba4929a7c26f717b5c8fbf3c4f
[INFO] running `Command { std: "docker" "start" "-a" "6fac8476a37b8339c94b78ca971053e4cbc95fba4929a7c26f717b5c8fbf3c4f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]     Checking once_cell v1.18.0
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]     Checking bytes v1.4.0
[INFO] [stderr]    Compiling tokio v1.28.2
[INFO] [stderr]    Compiling openssl-sys v0.9.90
[INFO] [stderr]    Compiling syn v2.0.22
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]     Checking tracing-core v0.1.31
[INFO] [stderr]    Compiling openssl v0.10.55
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking http v0.2.9
[INFO] [stderr]     Checking futures-io v0.3.28
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]    Compiling serde v1.0.164
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]     Checking futures-sink v0.3.28
[INFO] [stderr]     Checking log v0.4.19
[INFO] [stderr]     Checking try-lock v0.2.4
[INFO] [stderr]    Compiling serde_json v1.0.99
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]     Checking encoding_rs v0.8.32
[INFO] [stderr]     Checking ipnet v2.7.2
[INFO] [stderr]     Checking base64 v0.21.2
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking num_cpus v1.15.0
[INFO] [stderr]     Checking socket2 v0.4.9
[INFO] [stderr]     Checking mio v0.8.8
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.164
[INFO] [stderr]     Checking tokio-util v0.7.8
[INFO] [stderr]     Checking h2 v0.3.20
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking hyper v0.14.27
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.18
[INFO] [stderr]     Checking jitash-jsonrpc v0.15.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `MutexGuard`
[INFO] [stdout]   --> src/http/simple_http.rs:13:29
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::sync::{Arc, Mutex, MutexGuard};
[INFO] [stdout]    |                             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode
[INFO] [stdout]    --> src/http/simple_http.rs:280:64
[INFO] [stdout]     |
[INFO] [stdout] 280 |         self.tp.basic_auth = Some(format!("Basic {}", &base64::encode(auth.as_bytes())));
[INFO] [stdout]     |                                                                ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode
[INFO] [stdout]    --> src/http/simple_http.rs:286:64
[INFO] [stdout]     |
[INFO] [stdout] 286 |         self.tp.basic_auth = Some(format!("Basic {}", &base64::encode(cookie.as_ref().as_bytes())));
[INFO] [stdout]     |                                                                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MutexGuard`
[INFO] [stdout]   --> src/http/simple_http.rs:13:29
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::sync::{Arc, Mutex, MutexGuard};
[INFO] [stdout]    |                             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]    --> src/http/simple_http.rs:566:9
[INFO] [stdout]     |
[INFO] [stdout] 566 |     use std::str::FromStr;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode
[INFO] [stdout]    --> src/http/simple_http.rs:280:64
[INFO] [stdout]     |
[INFO] [stdout] 280 |         self.tp.basic_auth = Some(format!("Basic {}", &base64::encode(auth.as_bytes())));
[INFO] [stdout]     |                                                                ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode
[INFO] [stdout]    --> src/http/simple_http.rs:286:64
[INFO] [stdout]     |
[INFO] [stdout] 286 |         self.tp.basic_auth = Some(format!("Basic {}", &base64::encode(cookie.as_ref().as_bytes())));
[INFO] [stdout]     |                                                                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `error`
[INFO] [stdout]    --> src/http/simple_http.rs:163:25
[INFO] [stdout]     |
[INFO] [stdout] 163 |                     Err(error) => Err(Error::HttpErrorCode(1))
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_error`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FINAL_RESP_ALLOC` is never used
[INFO] [stdout]   --> src/http/simple_http.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 | const FINAL_RESP_ALLOC: u64 = 1024 * 1024 * 1024;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `fresh_socket` is never used
[INFO] [stdout]    --> src/http/simple_http.rs:128:8
[INFO] [stdout]     |
[INFO] [stdout] 73  | impl SimpleHttpTransport {
[INFO] [stdout]     | ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 128 |     fn fresh_socket(&self) -> Result<TcpStream, Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lines` found for struct `std::io::BufReader` in the current scope
[INFO] [stdout]    --> src/http/simple_http.rs:689:22
[INFO] [stdout]     |
[INFO] [stdout] 688 |                   let _http_request: Vec<_> = buf_reader
[INFO] [stdout]     |  _____________________________________________-
[INFO] [stdout] 689 | |                     .lines()
[INFO] [stdout]     | |                     -^^^^^ method not found in `BufReader<&mut TcpStream>`
[INFO] [stdout]     | |_____________________|
[INFO] [stdout]     | 
[INFO] [stdout]    --> /rustc/ed1ce580ec27ffcfda1a95512e69185442f75ebe/library/std/src/io/mod.rs:2310:8
[INFO] [stdout]     |
[INFO] [stdout]     = note: the method is available for `std::io::BufReader<&mut TcpStream>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 565 +     use std::io::BufRead;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_all` found for struct `TcpStream` in the current scope
[INFO] [stdout]    --> src/http/simple_http.rs:702:24
[INFO] [stdout]     |
[INFO] [stdout] 702 |                 stream.write_all(b"HTTP/1.1 200\r\n").unwrap();
[INFO] [stdout]     |                        ^^^^^^^^^ method not found in `TcpStream`
[INFO] [stdout]    --> /rustc/ed1ce580ec27ffcfda1a95512e69185442f75ebe/library/std/src/io/mod.rs:1572:8
[INFO] [stdout]     |
[INFO] [stdout]     = note: the method is available for `TcpStream` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 565 +     use std::io::Write;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_all` found for struct `TcpStream` in the current scope
[INFO] [stdout]    --> src/http/simple_http.rs:703:24
[INFO] [stdout]     |
[INFO] [stdout] 703 |                 stream.write_all(b"Content-Length: ").unwrap();
[INFO] [stdout]     |                        ^^^^^^^^^ method not found in `TcpStream`
[INFO] [stdout]    --> /rustc/ed1ce580ec27ffcfda1a95512e69185442f75ebe/library/std/src/io/mod.rs:1572:8
[INFO] [stdout]     |
[INFO] [stdout]     = note: the method is available for `TcpStream` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 565 +     use std::io::Write;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_all` found for struct `TcpStream` in the current scope
[INFO] [stdout]    --> src/http/simple_http.rs:704:24
[INFO] [stdout]     |
[INFO] [stdout] 704 |                 stream.write_all(response_str.len().to_string().as_bytes()).unwrap();
[INFO] [stdout]     |                        ^^^^^^^^^ method not found in `TcpStream`
[INFO] [stdout]    --> /rustc/ed1ce580ec27ffcfda1a95512e69185442f75ebe/library/std/src/io/mod.rs:1572:8
[INFO] [stdout]     |
[INFO] [stdout]     = note: the method is available for `TcpStream` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 565 +     use std::io::Write;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_all` found for struct `TcpStream` in the current scope
[INFO] [stdout]    --> src/http/simple_http.rs:705:24
[INFO] [stdout]     |
[INFO] [stdout] 705 |                 stream.write_all(b"\r\n").unwrap();
[INFO] [stdout]     |                        ^^^^^^^^^ method not found in `TcpStream`
[INFO] [stdout]    --> /rustc/ed1ce580ec27ffcfda1a95512e69185442f75ebe/library/std/src/io/mod.rs:1572:8
[INFO] [stdout]     |
[INFO] [stdout]     = note: the method is available for `TcpStream` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 565 +     use std::io::Write;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_all` found for struct `TcpStream` in the current scope
[INFO] [stdout]    --> src/http/simple_http.rs:706:24
[INFO] [stdout]     |
[INFO] [stdout] 706 |                 stream.write_all(b"\r\n").unwrap();
[INFO] [stdout]     |                        ^^^^^^^^^ method not found in `TcpStream`
[INFO] [stdout]    --> /rustc/ed1ce580ec27ffcfda1a95512e69185442f75ebe/library/std/src/io/mod.rs:1572:8
[INFO] [stdout]     |
[INFO] [stdout]     = note: the method is available for `TcpStream` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 565 +     use std::io::Write;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `write_all` found for struct `TcpStream` in the current scope
[INFO] [stdout]    --> src/http/simple_http.rs:707:24
[INFO] [stdout]     |
[INFO] [stdout] 707 |                 stream.write_all(response_str.as_bytes()).unwrap();
[INFO] [stdout]     |                        ^^^^^^^^^ method not found in `TcpStream`
[INFO] [stdout]    --> /rustc/ed1ce580ec27ffcfda1a95512e69185442f75ebe/library/std/src/io/mod.rs:1572:8
[INFO] [stdout]     |
[INFO] [stdout]     = note: the method is available for `TcpStream` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 565 +     use std::io::Write;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `flush` found for struct `TcpStream` in the current scope
[INFO] [stdout]    --> src/http/simple_http.rs:708:24
[INFO] [stdout]     |
[INFO] [stdout] 708 |                 stream.flush().unwrap();
[INFO] [stdout]     |                        ^^^^^ method not found in `TcpStream`
[INFO] [stdout]    --> /rustc/ed1ce580ec27ffcfda1a95512e69185442f75ebe/library/std/src/io/mod.rs:1538:8
[INFO] [stdout]     |
[INFO] [stdout]     = note: the method is available for `TcpStream` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 565 +     use std::io::Write;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jitash-jsonrpc` (lib test) due to 9 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "6fac8476a37b8339c94b78ca971053e4cbc95fba4929a7c26f717b5c8fbf3c4f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6fac8476a37b8339c94b78ca971053e4cbc95fba4929a7c26f717b5c8fbf3c4f", kill_on_drop: false }`
[INFO] [stdout] 6fac8476a37b8339c94b78ca971053e4cbc95fba4929a7c26f717b5c8fbf3c4f
